﻿using System;
using System.Collections.Generic;
using InvestmentIntelligence.DbModel.Models;

namespace InvestmentIntelligence.Data.Repository
{
    public interface ISeriesRepository
    {
        /// <summary>
        ///     Get Last record date for some key or key-part defined in storage (model should have Date field)
        /// </summary>
        /// <param name="key">Key or Key-part</param>
        /// <returns>DateTime when found, otherwise null</returns>
        DateTime? GetLastDate(int key);



        
    }
}